package com.kbs.pay.management.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jianchen
 * @Date: 2019/6/21 15:23
 * @Description: 支付订单
 */
public class PayOrder implements Serializable {
    /**
     * 支付订单id
     */
    private Long payOrderId;

    /**
     * 支付订单号
     */
    private String payOrderNo;

    /**
     * 第三方订单号
     */
    private String thirdOrderNo;

    /**
     * 商户id
     */
    private Long merchantAccountId;

    /**
     * 医院id
     */
    private Long hospitalId;

    /**
     * 医院名称
     */
    private String hospitalname;

    /**
     * 优惠券id
     */
    private Long couponsId;

    /**
     * 订单号id
     */
    private Long orderId;

    /**
     * 用户账号id
     */
    private Long userAccountId;

    /**
     * 订单类型:1 点餐 2超市 3点播
     */
    private Integer orderType;

    /**
     * 订单金额(单位:分,所有单位默认都是分)
     */
    private Integer payPrice;

    /**
     * 优惠金额
     */
    private Integer discountPrice;

    /**
     * 实付金额
     */
    private Integer actuallyPrice;

    /**
     * 支付描述
     */
    private String payDesc;

    /**
     * 支付状态
     */
    private Integer payStatus;

    /**
     * 支付方式:1 微信 2 支付宝 3 现金 4银联
     */
    private Integer payType;

    /**
     * 备注
     */
    private String remark;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     *
     */
    private Long createBy;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private Long updateBy;

    /**
     *
     */
    private Boolean isDelete;

    private static final long serialVersionUID = 1L;

    public Long getPayOrderId() {
        return payOrderId;
    }

    public void setPayOrderId(Long payOrderId) {
        this.payOrderId = payOrderId;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public String getThirdOrderNo() {
        return thirdOrderNo;
    }

    public void setThirdOrderNo(String thirdOrderNo) {
        this.thirdOrderNo = thirdOrderNo;
    }

    public Long getMerchantAccountId() {
        return merchantAccountId;
    }

    public void setMerchantAccountId(Long merchantAccountId) {
        this.merchantAccountId = merchantAccountId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getHospitalname() {
        return hospitalname;
    }

    public void setHospitalname(String hospitalname) {
        this.hospitalname = hospitalname;
    }

    public Long getCouponsId() {
        return couponsId;
    }

    public void setCouponsId(Long couponsId) {
        this.couponsId = couponsId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(Long userAccountId) {
        this.userAccountId = userAccountId;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(Integer payPrice) {
        this.payPrice = payPrice;
    }

    public Integer getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(Integer discountPrice) {
        this.discountPrice = discountPrice;
    }

    public Integer getActuallyPrice() {
        return actuallyPrice;
    }

    public void setActuallyPrice(Integer actuallyPrice) {
        this.actuallyPrice = actuallyPrice;
    }

    public String getPayDesc() {
        return payDesc;
    }

    public void setPayDesc(String payDesc) {
        this.payDesc = payDesc;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "PayOrder{" +
                "payOrderId=" + payOrderId +
                ", payOrderNo='" + payOrderNo + '\'' +
                ", thirdOrderNo='" + thirdOrderNo + '\'' +
                ", merchantAccountId=" + merchantAccountId +
                ", hospitalId=" + hospitalId +
                ", hospitalname='" + hospitalname + '\'' +
                ", couponsId=" + couponsId +
                ", orderId=" + orderId +
                ", userAccountId=" + userAccountId +
                ", orderType=" + orderType +
                ", payPrice=" + payPrice +
                ", discountPrice=" + discountPrice +
                ", actuallyPrice=" + actuallyPrice +
                ", payDesc='" + payDesc + '\'' +
                ", payStatus=" + payStatus +
                ", payType=" + payType +
                ", remark='" + remark + '\'' +
                ", payTime=" + payTime +
                ", createTime=" + createTime +
                ", createBy=" + createBy +
                ", updateTime=" + updateTime +
                ", updateBy=" + updateBy +
                ", isDelete=" + isDelete +
                '}';
    }
}